using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Requests.Objects;
namespace NewFormatProject.Server.Instances.Extends.Requests
{
	public static class EntityUserRightsExtend
{
		public static UserRights ToEntity(this RequestUserRightsDto dto)
		{
			return new UserRights
			{
				UrId = dto.id,
				UrRightId = dto.rightId,
				UrUserId = dto.userId,
			};
		}
	}
}
